<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="./css/bootstrap.min.css">
    <script src="./js/vendor/jquery-3.6.0.min.js"></script>
    <script src="./js/popper.min.js"></script>
    <script src="./js/bootstrap.min.js"></script>
    <style>
    </style>
</head>
<body>
<div class="container col-5">
    <div class="card">
        <div class="card-header">
            <h2>登录</h2>
        </div>
        <div class="card-body">
            <form action="${pageContext.request.contextPath}/admin/login" method="post">
                <div class="form-group">
                    <label>用户名：</label>
                    <input type="text" name="username" value="admin" autocomplete class="form-control">
                </div>
                <div class="form-group">
                    <label>密码：</label>
                    <input type="password" name="password" value="admin" autocomplete class="form-control">
                </div>
                <div class="form-group">
                    <input type="submit" class="btn btn-primary col-12" value="提交">
                </div>
            </form>
            <div class="form-group" style="color: red;text-align:center;">
                ${error}
            </div>
        </div>
    </div>
</div>
</body>
</html>
